package com.fwtai.pay.wechat.auth;

import java.security.cert.X509Certificate;

public interface Verifier {

  boolean verify(final String serialNumber,final byte[] message,final String signature);

  /**
   * 获取合法的平台证书
   * @return 合法证书
  */
  X509Certificate getValidCertificate();
}